
/*
author:  陈楚城
create:  2019.4.28
description：宿舍床位的实体类
*/
package edu.uni.dormitory.bean;

import java.util.Date;
/*
宿舍床位表的实体类
 */
public class LiveBed {
    //数据表唯一编号ID
    private Long id;
    //所属宿舍房间ID
    private Long liveRoomId;
    //床位编号
    private String number;
    //床位是否有人 0：有人 1：无人
    private Byte status;
    //本记录创建时间
    private Date datetime;
    //创建人
    private Long byWho;
    //本记录是否有效 0：有效 1：无效
    private Long deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLiveRoomId() {
        return liveRoomId;
    }

    public void setLiveRoomId(Long liveRoomId) {
        this.liveRoomId = liveRoomId;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public Long getByWho() {
        return byWho;
    }

    public void setByWho(Long byWho) {
        this.byWho = byWho;
    }

    public Long getDeleted() {
        return deleted;
    }

    public void setDeleted(Long deleted) {
        this.deleted = deleted;
    }
}